import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    username: '',
    address: '',
    idCard: ''
  },
  mutations: {
    setWapLoading(state, values) {
      state.username = values.username
      state.address = values.address
      state.idCard = values.idCard
    }
  }
})
